<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>小说列表</title>
</head>
<body>
<div align="center">
<form method="post" th:action="@{/findByPage}">
    页码：<input type="text" name="current" /><br />
    每页条数：<input type="text" name="pageSize" /><br />
    <input type="submit" value="跳转"/>
</form>
</div>
<!--<p>&nbsp;&nbsp;&nbsp;&nbsp;页码：<input type="text" th:id="current" th:name="current" /></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;每页条数：<input type="text" th:id="pageSize" th:name="pageSize" /></p>
&lt;!&ndash;/*@thymesVar id="current" type=""*/&ndash;&gt;
&lt;!&ndash;/*@thymesVar id="pageSize" type=""*/&ndash;&gt;
<a th:href="@{/findByPage(current=${current},pageSize=${pageSize})}">跳转</a><br/>-->
<hr width="80%" align="center"/>
    <table border="1" width="50%" align="center">
        <tr>
            <th>ID</th>
            <th>title</th>
            <th>URL</th>
            <th>查看</th>
        </tr>
        <tr th:each="e : ${list}">
            <td th:text="${e.getId()}"></td>
            <td th:text="${e.getTitle()}"></td>
            <td th:text="${e.getUri()}"></td>
            <td><a th:href="@{/getContent(url=${e.getContentUrl()},id=${e.getId()})}">查看</a></td>
        </tr>
    </table>

</body>
</html>